package cn.iocoder.yudao.module.liveprice.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

@Data
@Configuration
@ConfigurationProperties(prefix = "spring.kafka.topics")
public class KafkaTopicProperties {

    private NowApi nowapi;
    private RtjData rtjdata;

    @Data
    public static class NowApi {
        private String prefix;
        private String groupId;
        private List<String> codes;
    }

    @Data
    public static class RtjData {
        private String name;
        private String groupId;
    }
} 